package com.jstyle.jclife.model;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Transient;



/**
 * Created by Administrator on 2019/4/19.
 */
@Entity
public class BindDeviceInfo {
    @Transient
    JstyleDevice jstyleDevice=new Device1755();
    @Transient
    boolean isConnected;
    String deviceName;
    @Transient
    int sortID;
    @Id
    String macAddress;
    String deviceVersion;
    @Generated(hash = 284779162)
    public BindDeviceInfo(String deviceName, String macAddress,
            String deviceVersion) {
        this.deviceName = deviceName;
        this.macAddress = macAddress;
        this.deviceVersion = deviceVersion;
    }
    @Generated(hash = 1471911464)
    public BindDeviceInfo() {
    }
    public String getDeviceName() {
        return this.deviceName;
    }
    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }
    public String getMacAddress() {
        return this.macAddress;
    }
    public void setMacAddress(String macAddress) {
        this.macAddress = macAddress;
    }
    public String getDeviceVersion() {
        return this.deviceVersion;
    }

    public JstyleDevice getJstyleDevice() {
        return jstyleDevice;
    }

    public void setJstyleDevice(JstyleDevice jstyleDevice) {
        this.jstyleDevice = jstyleDevice;
    }

    public void setDeviceVersion(String deviceVersion) {

        this.deviceVersion = deviceVersion;
    }

    public boolean isConnected() {
        return isConnected;
    }

    public void setConnected(boolean connected) {
        isConnected = connected;
    }

    public int getSortID() {
        return sortID;
    }

    public void setSortID(int sortID) {
        this.sortID = sortID;
    }
}
